<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<%@ include file="/static/htm/head" %>
		<link href="static/css/login.css" rel="stylesheet" />
		<script type="text/javascript" src="static/js/login.js"></script>
		<title>游戏论坛玩家登陆</title>
	</head>
	<body>
		<div id="login">
			<div id="logo">
				<a href="index.jsp" title="游戏玩家论坛">
					<img alt="论坛Logo" height="56" src="static/pic/logo.jpg" width="192">
				</a>
			</div>
			<div class="block small center login">
				<div class="block_head">
					<div class="bheadl"></div>
					<div class="bheadr"></div>
					<h2>登陆游戏玩家论坛</h2>
					<ul>
						<li><a href="index.jsp">论坛主页</a></li>
						<li><a href="register">注册新用户</a></li>
					</ul>
				</div>
				<div class="block_content">
					<form action="login" accept-charset="UTF-8" method="post">
						<div class="clearfix">
							<label for="username">用户名</label>
							<div class="input">
								<input class="span6" id="username" name="usrname" size="30" type="text">
							</div>
						</div>
						<div class="clearfix">
							<label for="passwd">登录密码</label>
							<div class="input">
								<input class="span6" id="passwd" name="passwd" size="30" type="password">
							</div>
						</div>
						<br>
						<div class="row">
							<div class="span2" style="width:75px">
								<p>
									<input id="login_btn" class="btn primary large" name="commit" type="submit" value="登录">
								</p>
							</div>
							<div class="span5">
								<div class="clearfix">
									<div class="input">
										<ul class="inputs-list">
											<li>
												<label>
													<span>
														<a href="forgetpasswd">忘记密码？</a> 
													</span>
												</label>
											</li>
										</ul>
									</div>
								</div>
							</div>
						</div>
						<div class="alert alert-error" id="error_info" style="visibility: ${visibility}">
							用户名或密码输入不正确
						</div>
					</form>
				</div>
				<div class="bendl"></div>
				<div class="bendr"></div>
			</div>
		</div>
		<%@ include file="/static/htm/foot.jsp" %>
	</body>
</html>